package cu.tedu.egmybatis2.mapper;

import cu.tedu.egmybatis2.pojo.entity.UserOrder;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserOrderMapper {

    @Insert("INSERT INTO user_orders (order_id,cust_id,order_date,status,products_num,amt) VALUES (#{orderId},#{custId},#{orderDate},#{productsNum},#{status},#{amt})")
    int insertUserOrder(UserOrder userOrder);
}
